<?php

namespace App\Http\Exports;

use Illuminate\Support\Facades\DB;
use Maatwebsite\Excel\Concerns\FromCollection;
use App\Model\UserModel;

class InvoicesExport implements FromCollection
{
    public function collection()
    {
        return UserModel::all();
    }
}
